IMotion.SetAxisDirection method

Sets the direction of an axis' position.

Namespace: IntervalZero.KINGSTAR.Base.Api

Assembly: IntervalZero.KINGSTAR.Base.Api (in IntervalZero.KINGSTAR.Base.dll) Version: 4.4.0.0

Syntax

C#VB
KsError SetAxisDirection(
       int Index,
       McPolarity Direction
)
Function SetAxisDirection(
       Index As Integer,
       Direction As McPolarity
) As KsError

Parameters

Index

Type: int

The index of an axis. Indexes are zero based. Aliases affect this parameter.

 

Direction

Type: McPolarity

The direction of a position.

Return value

Type: KsError

A return code of a method.

Examples

C#
N/A

See also

IMotion Interface

IntervalZero.KINGSTAR.Base.Api Namespace